package cn.com.surker.enums.mes;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2023年07月18 14:46
 * @desc
 */
public enum PlanCodeEnum implements IDescription {

    ORDER(0,"已制单"),
    PRODUCTION(1,"生产中"),
    SUCCESS(2,"已完成"),
    CANCEL(3,"取消");

    private final String description;

    private final Integer code;

    PlanCodeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
